package com.teamone.etl.apimanager.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 源接口错误码中间表(ApiSourceErrorCode)表实体类
 *
 * @author makejava
 * @since 2021-01-20 18:32:06
 */
@SuppressWarnings("serial")
public class ApiSourceErrorCode extends Model<ApiSourceErrorCode> {

    /**
     * 序号
     */
    private Integer id;
    /**源接口id
     *
     */
    private Integer apiSourceId;
    /**错误码id
     *
     */
    private Integer apiErrorCodeId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getApiSourceId() {
        return apiSourceId;
    }

    public void setApiSourceId(Integer apiSourceId) {
        this.apiSourceId = apiSourceId;
    }

    public Integer getApiErrorCodeId() {
        return apiErrorCodeId;
    }

    public void setApiErrorCodeId(Integer apiErrorCodeId) {
        this.apiErrorCodeId = apiErrorCodeId;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}